Javascript create Dicitonary-like -Object out of a list of pathes

visit shbcf.ru